package com.charging.system.domain;

import java.math.BigDecimal;

import com.charging.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.charging.common.annotation.Excel;

/**
 * 退款记录对象 kx_refund_record
 *
 * @author charging
 * @date 2024-04-19
 */
public class KxRefundRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long refundRecordId;

    /** 申请用户id */
    @Excel(name = "申请用户id")
    private Long userId;

    /** 提现用户名 */
    @Excel(name = "提现用户名")
    private String userName;

    /** 消费金额 */
    @Excel(name = "消费金额")
    private BigDecimal amount;

    /** 赠送金额 */
    @Excel(name = "赠送金额")
    private BigDecimal give;

    /** 交易状态 */
    @Excel(name = "交易状态")
    private Integer tranStatus;

    /** 交易类型 */
    @Excel(name = "交易类型")
    private Integer tranType;

    /** 申请人姓名 */
    @Excel(name = "申请人姓名")
    private String name;

    /** 提/退原因 */
    @Excel(name = "提/退原因")
    private String reason;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setRefundRecordId(Long refundRecordId)
    {
        this.refundRecordId = refundRecordId;
    }

    public Long getRefundRecordId()
    {
        return refundRecordId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setAmount(BigDecimal amount)
    {
        this.amount = amount;
    }

    public BigDecimal getAmount()
    {
        return amount;
    }
    public void setGive(BigDecimal give)
    {
        this.give = give;
    }

    public BigDecimal getGive()
    {
        return give;
    }
    public void setTranStatus(Integer tranStatus)
    {
        this.tranStatus = tranStatus;
    }

    public Integer getTranStatus()
    {
        return tranStatus;
    }
    public void setTranType(Integer tranType)
    {
        this.tranType = tranType;
    }

    public Integer getTranType()
    {
        return tranType;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setReason(String reason)
    {
        this.reason = reason;
    }

    public String getReason()
    {
        return reason;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("refundRecordId", getRefundRecordId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("amount", getAmount())
            .append("give", getGive())
            .append("tranStatus", getTranStatus())
            .append("tranType", getTranType())
            .append("name", getName())
            .append("reason", getReason())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
